arm926ejs: cache: use __weak
authorJeroen Hofstee <[email protected]>
Mon, 27 Oct 2014 19:10:06 +0000 (20:10 +0100)
committerTom Rini <[email protected]>
Tue, 4 Nov 2014 20:01:04 +0000 (15:01 -0500)
Cc: Albert Aribaud <[email protected]>
Signed-off-by: Jeroen Hofstee <[email protected]>
arch/arm/cpu/arm926ejs/cache.c

index e86c2edd3bbfa160d22eeb224990b40e4657ae65..8d7873c9af332fc48a2dd511f0df7f7bfcf8e4be 100644 (file)
@@ -99,7 +99,4 @@ void flush_cache(unsigned long start, unsigned long size)
 /*
  * Stub implementations for l2 cache operations
  */
-void __l2_cache_disable(void) {}
-
-void l2_cache_disable(void)
-       __attribute__((weak, alias("__l2_cache_disable")));
+__weak void l2_cache_disable(void) {}